﻿using System; 
using System.Linq;


class CSLinq
{
  public void DoLinq() 
  {
    var collection = Enumerable.Range(0, 10);
    collection = 
      from e in collection where e % 2 == 1 select e * e;
          
    foreach (var e in collection)
      Console.WriteLine(e);
  }
}
